import React,{useEffect} from 'react'
import { useLocation, useParams} from 'react-router-dom'

export default function Class() {
  const location = useLocation()
  const params = useParams()  

  useEffect(()=>{
    console.log(location,'location');
    console.log(params,'params');
    
  },[])

  return (
    <div>Class</div>
  )
}
